<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2021/12/8
 * Time: 8:36
 */

echo '用户中心<br/>';
//获取用户的COOKIES



if(isset($_COOKIE['Token'])){
    echo '当前的Token值： '.$_COOKIE['Token'].'<br />';

    if(isset($arr[$_COOKIE['Token']])){
        echo '<a href="logout.php">退出登入</a>';die;
    }
//    if($_COOKIE['Token'] == '123456789a'){
//        echo '<a href="logout.php">退出登入</a>';die;
//    }
}
echo '你尚未登入，<a href="loginui.php">请登入</a>';


